English
Creates or updates privacy consents for a user.
cURL
curl --request POST \ --url https://your_a2_service/privacy/consents \ --header 'Content-Type: application/json' \ --data '{ "consent_channel": "web_login", "consent_date": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "email": "<string>", "is_agreed": true, "policy_version": "1.0.0", "updated_at": "2023-11-07T05:31:56Z", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }'
{ "consent_channel": "web_login", "consent_date": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "is_agreed": true, "policy_version": "1.0.0", "updated_at": "2023-11-07T05:31:56Z", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Schema for updating privacy consent.
Successful Response
Schema for privacy consent.
Was this page helpful?